package cn.wolfcode.car.business.service;
import cn.wolfcode.car.business.domain.BusCustomer;
import cn.wolfcode.car.business.query.BusCustomerQuery;
import cn.wolfcode.car.common.base.page.TablePageInfo;
import org.apache.poi.ss.usermodel.Workbook;

import java.util.List;

/**
 * 岗位服务接口
 */
public interface IBusCustomerService {

    /**
     * 分页
     * @param qo
     * @return
     */
    TablePageInfo<BusCustomer> query(BusCustomerQuery qo);


    /**
     * 保存
     * @param busCustomer
     */
    void save(BusCustomer busCustomer);

  
    /**
     * 更新
     * @param busCustomer
     */
    void update(BusCustomer busCustomer);

    /**
     *  批量删除
     * @param id
     */
    void deleteBatch(Long id);

    /**
     * 查询全部
     * @return
     */
    List<BusCustomer> list();


    BusCustomer get(Long id);

    Workbook export();
}
